<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>" />
</head>
<body>

	<h1>user login</h1>
	<form action="login" method="post">
		<div>
			username:<input type="text" name="username" />
		</div>
		<p>
			password:<input type="password" name="password" />
		</p>
		<div>
			<input type="checkbox" name="rememberMe" />
		</div>
		<div>
			自动登陆 ${msg} <input type="submit" value="submit"></input>
		</div>
		
		 
	</form>
</body>
</html>